package demo2;

public class UserPasswordException extends RuntimeException{

    public UserPasswordException() {

    }
    public UserPasswordException(String message) {
        System.out.println(message);
    }
}

//继承runtimeexception  非受查异常
//继承exception  受查异常
